/**
 * @Author：ming
 * @Date：2023/10/2 12:09 PM
 * @Filename：Lc134
 */

/**
 * @author ming
 */
public class Lc134 {
    public int canCompleteCircuit(int[] gas, int[] cost) {
        int len = gas.length;
        int index = -1;
        int min = 0;

        int[] have = new int[len];
        for (int i = 0; i <len ; i++) {
            have[i] = gas[i]-cost[i];
        }

        for (int i = 0; i < len; i++) {
             index = i;
             int start = 0;

            while (start<len){

            }
        }

        return 0;
    }
}
